<?php
require('lib/verify.php');
require('lib/has_char.php');

$_category = "warmath";
$_title = "Profile";

$forum_id = $pun_user["id"];
$char_id = $_GET["id"];

$sql = "update wm_characters set character_active = '0' where character_forum_id='$forum_id'";
$result = $db->query($sql);

$sql = "update wm_characters set character_active = '1' where character_id='$char_id'";
$result = $db->query($sql);

header("Location: profile.php");
?>

